package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 处方的药品信息对象 t_prescription_drug_info
 *
 * @author ruoyi
 * @date 2023-03-16
 */
@Data
public class TPrescriptionDrugInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增ID */
    private int id;

    /** 处方ID */
    private Long prescriptionid;

    /** 药品ID */
    private String drugid;

    /** 药品名称 */
    @Excel(name = "药品名称")
    private String drugName;

    /** 药品分类 */
    @Excel(name = "药品分类")
    private String drugType;

    /** 药品规格 */
    @Excel(name = "药品规格")
    private String drugSpecs;

    /** 药品单价 */
    @Excel(name = "药品单价")
    private BigDecimal drugPrice;

    /** 药品数量 */
    @Excel(name = "药品数量")
    private Long counts;

    /** 用药天数 */
    @Excel(name = "用药天数")
    private int days;

    /** 已用药天数 */
    private int over_days;


    /** 药品金额 */
    @Excel(name = "药品金额")

    private BigDecimal amount;
    @Excel(name = "1正常 2退款")
    private int drugStatus;

    @Excel(name = "退回数量")
    private int refundCounts;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 退款时间 */
    @Excel(name = "退款时间")
    private Date refundTime;

}
